package com.CmJava.crowd.mapper;

import com.CmJava.crowd.entity.UserAndGood;
import com.CmJava.crowd.entity.UserAndGoodExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserAndGoodMapper {
    int countByExample(UserAndGoodExample example);

    int deleteByExample(UserAndGoodExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserAndGood record);

    int insertSelective(UserAndGood record);

    List<UserAndGood> selectByExample(UserAndGoodExample example);

    UserAndGood selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserAndGood record, @Param("example") UserAndGoodExample example);

    int updateByExample(@Param("record") UserAndGood record, @Param("example") UserAndGoodExample example);

    int updateByPrimaryKeySelective(UserAndGood record);

    int updateByPrimaryKey(UserAndGood record);
}